package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IDepartmentService {

    void deleteByPrimaryKey(Long id);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    void saveOrUpdate(Department entity);

    void changeState(Long id);

    PageResult query(QueryObject qo);
}
